package com.jeomo.sys.provider.web.vo;

import com.jeomo.sys.api.enums.OrgTypeEnum;

import java.io.Serializable;
import java.util.List;

/**
 * @author 崔贺
 */
public class OrgVo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 组织码
     */
    private String code;

    /**
     * 组织名称
     */
    private String name;
    /**
     * 组织全称
     */
    private String fullName;

    /**
     * 父节点
     */
    private String parentCode;

    /**
     * 节点类型
     */
    private OrgTypeEnum type;

    private Integer sort;

    private List<OrgVo> children;

    public List<OrgVo> getChildren() {
        return children;
    }

    public void setChildren(List<OrgVo> children) {
        this.children = children;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getFullName() {
        return fullName;
    }

    public void setFullName(String fullName) {
        this.fullName = fullName;
    }

    public String getParentCode() {
        return parentCode;
    }

    public void setParentCode(String parentCode) {
        this.parentCode = parentCode;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public OrgTypeEnum getType() {
        return type;
    }

    public void setType(OrgTypeEnum type) {
        this.type = type;
    }

}
